package util;

/**
 * @Author: yangyan
 * @Date: 11:02 2017/10/21
 * @Description:
 */
public class ErrorCode {
    public static int SUCCESSFUL;

    public static int NOT_EXIST; // 数据不存在
    public static int EXIST; // 数据存在
    public static int CANNOT_INTO_PATH; //不符合进入路径标标准
    public static int INSERT_ERROR; // 数据库插入操作错误
    public static int SIGN_ERROR;//认证错误
    public static int APPID_NOT_EXIST;//不存在APPID
    public static int SERVICE_NOT_AVAILABLE;//无权限调用服务
    public static int SERVER_ERROR;//服务端错误


    static {
        SUCCESSFUL = 0;
        NOT_EXIST = 400;
        EXIST = 401;
        CANNOT_INTO_PATH = 401;
        INSERT_ERROR = 501;
        SIGN_ERROR = 500001;
        APPID_NOT_EXIST = 500002;
        SERVICE_NOT_AVAILABLE = 500003;
        SERVER_ERROR = 500004;
    }
}
